package com.lianniu.web.buyerOrder.service;

import com.lianniu.web.base.BaseResult;
import com.lianniu.web.buyerOrder.model.BuyerOrderConditionVo;
import com.lianniu.web.buyerOrder.model.CancelOrder;
import com.lianniu.web.buyerOrder.model.OrderInfoVo;


public interface IBuyerOrderService {

    public BaseResult getOrderInfo(String orderid);
    
    
    public BaseResult getOrders(BuyerOrderConditionVo condition);
    
    public BaseResult cancelOrder(CancelOrder cancel);
    
    public BaseResult confirmOrder(CancelOrder confirm); 
    
    public BaseResult sureOrder(CancelOrder sure);
    
    public BaseResult payMoney(CancelOrder pay);
    
    BaseResult addOrder(OrderInfoVo order);

    BaseResult getCode(String prefix, int len);

    BaseResult getBuyerInfo(String userId);

    BaseResult changeName(String userId, String buyerName);
}
